
/*
'===============================================================================
'  Generated From - BLL_Type_Class.vbgen
'
'  This is a class type for a table in the DB. When created, the object represents 
'  one row in the table. There should be no need to add custom code to this class.
'  
'  Do not write custom business logic in this class as it will be overwritten 
'  next time the class is generated.
'
'  Version: 1.0
'  Date:	30/01/06
'  Summary: Default constructor and explicit constructor using parameters.
'===============================================================================
*/
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace PlacementManager
{
    public class vwUnitEnrolmentsForStudents
    {
		#region Members
		private int _UnitId;
		private string _UnitCode;
		private string _UnitName;
		private string _UnitDescription;
		private int _DivisionId;
		private int _YearLevel;
		private bool _IsActive;
		private DateTime _DateCreated;
		private string _CreatedBy;
		private DateTime _DateUpdated;
		private string _UpdatedBy;
		private bool _IsCurrentlyEnrolled;
		private bool _IsActiveLink;
		private string _UserName;
		private string _FirstName;
		private string _LastName;
		private string _IdNumber;
		private int _UserId;
		#endregion

		#region Properties
		
		public int UnitId
		{
			get	{ return _UnitId; }
			set	{ _UnitId = value; }
		}
		
		public string UnitCode
		{
			get	{ return _UnitCode; }
			set	{ _UnitCode = value; }
		}
		
		public string UnitName
		{
			get	{ return _UnitName; }
			set	{ _UnitName = value; }
		}
		
		public string UnitDescription
		{
			get	{ return _UnitDescription; }
			set	{ _UnitDescription = value; }
		}
		
		public int DivisionId
		{
			get	{ return _DivisionId; }
			set	{ _DivisionId = value; }
		}
		
		public int YearLevel
		{
			get	{ return _YearLevel; }
			set	{ _YearLevel = value; }
		}
		
		public bool IsActive
		{
			get	{ return _IsActive; }
			set	{ _IsActive = value; }
		}
		
		public DateTime DateCreated
		{
			get	{ return _DateCreated; }
			set	{ _DateCreated = value; }
		}
		
		public string CreatedBy
		{
			get	{ return _CreatedBy; }
			set	{ _CreatedBy = value; }
		}
		
		public DateTime DateUpdated
		{
			get	{ return _DateUpdated; }
			set	{ _DateUpdated = value; }
		}
		
		public string UpdatedBy
		{
			get	{ return _UpdatedBy; }
			set	{ _UpdatedBy = value; }
		}
		
		public bool IsCurrentlyEnrolled
		{
			get	{ return _IsCurrentlyEnrolled; }
			set	{ _IsCurrentlyEnrolled = value; }
		}
		
		public bool IsActiveLink
		{
			get	{ return _IsActiveLink; }
			set	{ _IsActiveLink = value; }
		}
		
		public string UserName
		{
			get	{ return _UserName; }
			set	{ _UserName = value; }
		}
		
		public string FirstName
		{
			get	{ return _FirstName; }
			set	{ _FirstName = value; }
		}
		
		public string LastName
		{
			get	{ return _LastName; }
			set	{ _LastName = value; }
		}
		
		public string IdNumber
		{
			get	{ return _IdNumber; }
			set	{ _IdNumber = value; }
		}
		
		public int UserId
		{
			get	{ return _UserId; }
			set	{ _UserId = value; }
		}
		
		#endregion

        #region Constructors
		/// <summary>
        /// Explicit constructor using parameters.
        /// </summary>
        public vwUnitEnrolmentsForStudents(int UnitId, string UnitCode, string UnitName, string UnitDescription, int DivisionId, int YearLevel, bool IsActive, DateTime DateCreated, string CreatedBy, DateTime DateUpdated, string UpdatedBy, bool IsCurrentlyEnrolled, bool IsActiveLink, string UserName, string FirstName, string LastName, string IdNumber, int UserId)
        {
			 _UnitId = UnitId;
			 _UnitCode = UnitCode;
			 _UnitName = UnitName;
			 _UnitDescription = UnitDescription;
			 _DivisionId = DivisionId;
			 _YearLevel = YearLevel;
			 _IsActive = IsActive;
			 _DateCreated = DateCreated;
			 _CreatedBy = CreatedBy;
			 _DateUpdated = DateUpdated;
			 _UpdatedBy = UpdatedBy;
			 _IsCurrentlyEnrolled = IsCurrentlyEnrolled;
			 _IsActiveLink = IsActiveLink;
			 _UserName = UserName;
			 _FirstName = FirstName;
			 _LastName = LastName;
			 _IdNumber = IdNumber;
			 _UserId = UserId;

        }
		
		/// <summary>
        /// Default constructor.
        /// </summary>
		public vwUnitEnrolmentsForStudents()
        {

        }
		#endregion
	}
}


